﻿using AutoMapper;
using In66.Net.Repository.IRepositories.Models;

namespace Whse.Api.Applications.Profiles
{
    public class WhseProfile : Profile
    {
        public WhseProfile()
        {
            CreateMap(typeof(PagedModel<>), typeof(PageModelVo<>)).ForMember("XData", opt => opt.Ignore());
            CreateMap<Product, ProductVo>();
            CreateMap<Warehouse, WarehouseVo>();

            //CreateMap<ProductSearchRequest, ProductSearchListDto>();
            //CreateMap<ProductVo, ProductReply>();
        }
    }
}
